Nevron Open Vision Documentation
Nevron.Nov.Dom Namespace / NDocumentFormat<TDocument,TLoadSettings,TSaveSettings> Class / SaveToStreamCoreAsync Method


In This Topic
    SaveToStreamCoreAsync Method
    In This Topic
    Saves a document to the specified stream.
    Syntax
    'Declaration
     
    
    Protected Overridable Function SaveToStreamCoreAsync( _
       ByVal document As TDocument, _
       ByVal stream As System.IO.Stream, _
       ByVal saveSettings As TSaveSettings, _
       ByVal progress As NProgress _
    ) As NPromise(Of NUndefined)
    'Usage
     
    
    Dim instance As NDocumentFormat(Of TDocument,TLoadSettings,TSaveSettings)
    Dim document As TDocument
    Dim stream As System.IO.Stream
    Dim saveSettings As TSaveSettings
    Dim progress As NProgress
    Dim value As NPromise(Of NUndefined)
     
    value = instance.SaveToStreamCoreAsync(document, stream, saveSettings, progress)
    protected virtual NPromise<NUndefined> SaveToStreamCoreAsync( 
       TDocument document,
       System.IO.Stream stream,
       TSaveSettings saveSettings,
       NProgress progress
    )

    Parameters

    document
    stream
    saveSettings
    progress
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also